<template>
  <div>
    <login-header></login-header>
    <sign-wrap></sign-wrap>
  </div>
</template>
<script>
import '../../assets/statics/css/login.css'
import LoginHeader from '../../components/LoginHeader.vue'
import SignWrap from './components/SignWrap'
export default {
  name: 'Sign',
  components: {
    LoginHeader,
    SignWrap
  },
  methods: {
    check () {
      let token = this.$cookies.get('CHANGFENG-USER')
      if (token) {
        this.$router.push('/index')
      }
    }
  },
  mounted () {
    this.check()
  }
}
</script>
<style>
</style>
